package com.ultrasoft.farmasoft.repository;

import java.util.List;

import com.ultrasoft.farmasoft.domain.Client;


public interface ClientDao {
	public List<Client> getListClient();
	public List<Client> getListClientByActive(boolean active);
	public List<Client> getListClientByPharmacyIdByActive(Integer pharmacyId,boolean active);
	public List<Client> getListClientByNitByActive(String nit, boolean active);
	public List<Client> getListClientByPharmacyIdByNitByActive(Integer pharmacyId,String nit,boolean active);
	public List<Client> getListClientByPharmacyIdByNameByActive(Integer pharmacyId,String name,boolean active);
	public List<Client> getListClientByPharmacyIdByClientTypeByActive(Integer pharmacyId,String clientType,boolean active);
    public Client findClientByClientId(Integer clientId);    
    public void remove(Client client);    
    public void update(Client client);
    public void add(Client client);
}
